<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var num1=parseInt(prompt("请输入一个整数"));
			var num2=parseInt(prompt("请输入第二个整数"));
			if(num1>num2){
				alert(num1+"最大");
			}else{
				alert(num2+"最大");
			}
		</script>
	</body>
</html>
